import request from "../utils/request";
type API<T = any> = (...args: T[]) => Promise<any>

export const getDataApi: API<string>= (username) => request(`/index/${username}`)